greatest among three numbers in java